package com.jsoft.jsofted.platform.controller;

import com.jsoft.jsofted.framework.controller.DataController;
import com.jsoft.jsofted.platform.entity.TenantEntity;
import com.jsoft.jsofted.framework.service.CocService;
import com.jsoft.jsofted.platform.service.TenantService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/jsofted/tenant")
public class TenantController extends DataController<TenantEntity> {

    @Autowired
    private TenantService tenantService;

    @Override
    public CocService<TenantEntity> cocService() {
        return tenantService;
    }

}
